package com.xframe.xdal.core.annotation;

import java.lang.annotation.*;

/**
 * 指示生成查询条件
 *
 * @author xufeng
 * @version 1.0
 * @date 2022-09-19
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
public @interface XQueryCondition {

    /**
     * 值列表编码
     */
    String valueCode() default "";

    /**
     * 排序表达式
     */
    String sorts() default "createTime:ASC";

    String componentName() default "xSelect";

}
